/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.delambo.drool.modules;

import com.delambo.drool.interfaces.*;
import com.delambo.drool.pooling.*;
import com.google.inject.*;

/**
 *
 * @author delambo
 */
public class CircularIndexPointer_Module implements Module {

    public void configure(Binder binder) {
        
        binder.bind(CircularIndexPointer.Factory.class)
                .toInstance(new CircularIndexPointer.Factory() {

            public CircularIndexPointer create(int max) {
                return new CircularIndexPointer_Impl(max);
            }
            
        });				
    }
}
